package mysql

import "gorm.io/gorm"

type Topic struct {
	gorm.Model
	TopicName  string `gorm:"type:varchar(30);comment:话题名称"`
	TopicIntro string `gorm:"type:varchar(20);comment:话题描述"`
	HotLevel   int    `gorm:"type:int(11);default 0;comment:话题热度"`
	CreateTime string `gorm:"type:varchar(30);comment:创建时间"`
}
